package com.ln.service;

import com.ln.model.DatasourceConfigEntity;

import java.util.List;
import java.util.Map;

/**
 * 连接数据库信息
 * 
 * @author lining
 * @email 1501911035@qq.com
 * @date 2017-04-01 10:50:15
 */
public interface DatasourceConfigService {
	
	DatasourceConfigEntity queryObject(Integer dcId);
	
	List<DatasourceConfigEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(DatasourceConfigEntity datasourceConfig);
	
	void update(DatasourceConfigEntity datasourceConfig);
	
	void delete(Integer dcId);
	
	void deleteBatch(Integer[] dcIds);
}
